﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HotelManagement.DTO
{
    public class RoomDTO
    {
        private int roomID;
        private string roomName;//the property contains the floor and the room number
        private int roomTypeID;
        private string views;
       
        //this property has value= 0 if the owner room is empty,
        //its value is 1 if the owner room is full
        //its value is 2 if the owner room is booked in advance
        private int status;
        private string direction;
        private int numOfBed;
        private int numOfPerson;
        private int lastOwner;
        public int LastOwner
        {
            get { return lastOwner; }
            set { lastOwner = value; }
        }
        public int NumOfPerson
        {
            get { return numOfPerson; }
            set { numOfPerson = value; }
        }
        public int NumOfBed
        {
            get { return numOfBed; }
            set { numOfBed = value; }
        }
        public string Direction
        {
            get { return direction; }
            set { direction = value; }
        }
        public int Status
        {
            get { return status; }
            set { status = value; }
        }
        public string Views
        {
            get { return views; }
            set { views = value; }
        }
        public int RoomTypeID
        {
            get { return roomTypeID; }
            set { roomTypeID = value; }
        }
        public string RoomName
        {
            get { return roomName; }
            set { roomName = value; }
        }
        public int RoomID
        {
            get { return roomID; }
            set { roomID = value; }
        }

        public RoomDTO()
        {
            this.lastOwner = 0;
        }
        public RoomDTO(int pRoomID, string pRoomName, int pRoomTypeID,int pNumBed,int pNumPerson,string pDirection, string pViews,int pStatus,int pLastOwner)
        {
            this.roomID = pRoomID;
            this.roomName = pRoomName;
            this.roomTypeID = pRoomTypeID;
            this.numOfBed = pNumBed;
            this.numOfPerson = pNumPerson;
            this.direction = pDirection;
            this.views = pViews;
            this.status = pStatus;
            this.lastOwner = pLastOwner;
        }
    }
}
